package com.example.studentmanagement2.service;

import com.example.studentmanagement2.model.Student;
import com.example.studentmanagement2.model.Student;
import com.example.studentmanagement2.model.User;

import java.util.List;
import java.util.Optional;

public interface UserService {
    List<User> getAllUsers();
    Optional<User> getUserById(String id);
    User addUser(User user);
    User updateUser(String originalId,User user);
    void deleteUser(String id);
    List<User> searchUsers(String keyword);

}